package com.corpdata.mp.ui.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.corpdata.core.base.AbstractBaseService;
import com.corpdata.mp.ui.dao.MpMenuMapper;
import com.corpdata.mp.ui.entity.MpMenu;
import com.corpdata.mp.ui.service.MpMenuService;

import java.util.List;

/**
 * 
 * 
 * @author wu
 * @email 64088839@qq.com
 * @date 2018-08-02 10:41:59
 */
@Service
@Transactional
public class MpMenuServiceImpl extends AbstractBaseService<MpMenu> implements MpMenuService {

    @Autowired
    private MpMenuMapper menuMapper;

    @Override
    public List<MpMenu> findAll() {
        return menuMapper.selectAll(null);
    }
}
